﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CoyoEden.Web.Controls
{
	/// <summary>
	/// Admin Base Page
	/// </summary>
	public class AdminBasePage:System.Web.UI.Page
	{
		#region base override
		protected override void OnPreInit(EventArgs e)
		{
			base.OnPreInit(e);
		}
		protected override void OnLoad(EventArgs e)
		{
			Utils.AddJavaScriptInclude(Utils.RelativeWebRoot + "assets/js/jquery/jquery.js", Page, true);
			Utils.AddJavaScriptInclude(Utils.RelativeWebRoot + "assets/js/jquery/jquery.ui.all.min.js", Page, true);
			Utils.AddJavaScriptInclude(Utils.RelativeWebRoot + "assets/js/plugins/jquery.json.js", Page, true);
			Utils.AddJavaScriptInclude(Utils.RelativeWebRoot + "assets/js/plugins/jquery.bgiframe.min.js", Page, true);
			Utils.AddJavaScriptInclude(Utils.RelativeWebRoot + "assets/js/plugins/jquery.scrollTo.js", Page, true);
			Utils.AddJavaScriptInclude(Utils.RelativeWebRoot + "admin/assets/js/admin.js", Page, true);
			Utils.AddStylesheetInclude(Utils.RelativeWebRoot + "assets/jquerythemes/flora/flora.all.css", Page, false);//for dev or test
			base.OnLoad(e);
		}
		#endregion
	}
}
